Skip to content

Update docs for Golioth Firmware SDK v0.23.0 - #497

Merged
mniestroj merged 32 commits into
mainfrom
firmware-sdk/v0.23.0
Nov 18, 2026
Merged

mniestroj merged 32 commits into
mainfrom
firmware-sdk/v0.23.0

Conversation

@mniestroj

Copy link
Copy Markdown
Contributor

Update the docs for Golioth Firmware SDK v0.23.0, and fix what the earlier
SDK bumps (v0.18 to v0.22) left stale.

  • Bump the SDK version pin to v0.23.0.
  • API guides: drop the _async suffix and the removed synchronous API;
    replace golioth.h, golioth_client_t and other removed types with the
    real headers and types; use the settings and RPC handles; fix dead
    develop branch and Doxygen links.
  • Firmware update: describe it as sample code (golioth_fw_update_run()
    on Zephyr), set credentials through the shell, and note that nRF9160 DK
    devices with an older fw_update sample need a full reflash.
  • Getting started (Zephyr, NCS, native_sim): continuously verified boards
    as in the SDK README (ESP32-S3, FRDM-RW612 Ethernet and WiFi, nRF9160 DK),
    WiFi credentials commands, sample lists, a note on logs and Pipelines,
    and native_sim credentials through environment variables (Linux only).
  • ESP-IDF getting started: target the ESP32-S3, use the hello and
    fw_update samples (golioth_basics was removed in v0.16.0), and fix
    the Windows steps.
  • Setup partials: Zephyr v4.3.0 dependencies, west packages pip --install, Zephyr SDK 0.17.4, virtualenv as the default, Windows
    workspace paths, nRF Util, NCS Python requirements.
  • Replace links to the archived Golioth Zephyr SDK and the retired Nordic
    Infocenter, pin Zephyr doc links to 4.3.0, and add firebase.json
    redirects for docs URLs the SDK links to.

Not covered:

  • The screenshots under getting-started/.../3-esp-idf/assets/ still show
    the old golioth_basics sample and need to be retaken on hardware.
  • Example boot logs keep their old version banners.
  • The Windows ESP-IDF steps (ESP-IDF shortcut) are untested on Windows.

Golioth Firmware SDK v0.23.0 is the release the docs are updated for.
The pin feeds the git clone and west init commands in the install
partials.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The SDK API guides include a golioth.h header and use client, response
and status types that have not existed since v0.10.0, and the settings
and RPC examples lack the handles those APIs take. Use the headers,
callback signatures and constants from the v0.23.0 SDK.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Golioth Firmware SDK v0.23.0 removed the synchronous request functions
and renamed the _async ones to the plain names, so the guides described
calls that no longer exist. Document the remaining functions and their
callbacks.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The LightDB guides link to the removed develop branch of the SDK and
the LightDB overview links to a Doxygen group that does not exist. Point
to the LightDB samples on main and to the golioth_lightdb_state group.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Since v0.22.0 the firmware update logic lives in the samples
(examples/zephyr/fw_update, examples/esp_idf/fw_update and
examples/common/fw_update.c), and v0.23.0 replaced the Zephyr entry
point with golioth_fw_update_run(). The SDK only provides the OTA API
in golioth/ota.h. Also fix the 404 Doxygen link and mention the
periodic manifest fetch added in v0.21.0.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The GOLIOTH_SAMPLE_PSK_ID and GOLIOTH_SAMPLE_PSK Kconfig symbols were
removed in v0.18.0; the sample takes credentials through the settings
shell. Drop the tab for SDK versions before v0.15.0 and add the nRF9160
DK external flash note from the v0.23.0 breaking changes. The
credentials step now follows the first build, and the note about
hardcoded credentials describes the Settings storage. The workflow
summary uses the Package, Cohort and Deployment steps of the page, and
the module directory is named relative to the west workspace.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The hardcoded certificate Kconfig symbols were removed in v0.18.0, so
the hello sample instructions abort the build. Keep the provisioning
section, add the certificate_rotation sample and the credential paths
the samples read.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
@mniestroj
mniestroj force-pushed the firmware-sdk/v0.23.0 branch from f3323a5 to 938c8a9 Compare November 17, 2026 12:37
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit cb81514):

https://golioth-docs-dev--pr497-firmware-sdk-v0-23-0-jl5bro0e.web.app

(expires Thu, 17 Dec 2026 17:54:11 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f53b02bdc98ce6f5593931ec4c339aa96bac84df

@mniestroj
mniestroj force-pushed the firmware-sdk/v0.23.0 branch from 938c8a9 to 76187bb Compare November 17, 2026 13:10
CI no longer covers the nRF52840 DK with an ESP32 AT modem (since SDK
v0.23.0), the ESP32 DevKitC WROVER (since v0.22.0) or the i.MX RT1024
EVK (since v0.18.0), and it covers the ESP32-S3-DevKitC-1 and the
FRDM-RW612 over Ethernet and WiFi. The overview page lists the same
boards. The WiFi build needs the hal_nxp blobs, as the SDK CI fetches,
and west flash on the FRDM-RW612 needs J-Link firmware on its debug
probe, or LinkServer.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The Zephyr samples read the Golioth credentials at boot, so the SDK
README tells users to reboot after setting them, and since v0.21.0 WiFi
networks are stored with the Zephyr WiFi credentials library instead of
the wifi/ssid and wifi/psk settings.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The firmware update sample directory is fw_update, lightdb gained a
delete sample, and v0.22.0 added certificate_rotation. The nRF91
offloaded hello sample is listed on the NCS page only.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Since SDK v0.22.0 device logs are delivered through Pipelines rather
than the legacy ingestion path, so the Log tab only fills if the project
has the CBOR logs Pipeline. The hello sample logs "Sending hello! n".

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Since v0.22.0 the ESP32-S3-DevKitC-1 is the only ESP-IDF board verified
in CI. Point the build target and the ESP-IDF links at it, and drop the
easy_install step that ESP-IDF v5.4.1 no longer lists for macOS.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
examples/esp_idf/golioth_basics was removed in v0.16.0 and the
synchronous API in v0.23.0. Use the hello, fw_update, lightdb/set and
stream samples and their v0.23.0 API in the flash, OTA and cloud data
pages.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The ESP-IDF Tools Installer does not install into %HOMEPATH%\esp, so
export.bat is not found there and cd %HOMEPATH%\esp fails. Use the
ESP-IDF Command Prompt shortcut that runs export.bat, create the
directory for hello_world, and give the Windows cd for the samples.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The Golioth Firmware SDK has no samples/hello, and since v0.23.0
native_sim samples read their PSK credentials from the host environment
(GOLIOTH_SAMPLE_PSK_ID, GOLIOTH_SAMPLE_PSK) instead of Zephyr Settings.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Native Simulator builds Zephyr as a Linux executable, so drop the
Mac/Windows toolchain advice and say that the guide needs Linux (a VM
or WSL 2 on Windows). Zephyr v4.3.0 builds native boards with the host
toolchain, so only reset a ZEPHYR_TOOLCHAIN_VARIANT left over from
another tutorial to zephyr; unsetting it breaks FindZephyr-sdk.cmake
with CMake 4.4.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The page's slug /firmware/hardware/virtual-devices/zephyr-quickstart is
caught by the /firmware/hardware/:hw* redirect in firebase.json, which
sends it to a path nothing is served at. Drop the slug so the page
lives next to its siblings under /reference/hardware/virtual-devices/.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Zephyr v4.3.0 supports Ubuntu 22.04 and later, needs CMake 3.20.5,
Python 3.10 and dtc 1.4.6, and adds libmagic to the host packages. Drop
the Ubuntu 20.04 Kitware instructions. The text is shared with the NCS
set-up page, so it does not name a Zephyr version.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The /latest/ links follow Zephyr's moving documentation; the docs
target Zephyr v4.3.0 (NCS v3.2.3).

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Installing only zephyr/scripts/requirements.txt skips the requirements
of Zephyr modules, such as esptool from hal_espressif that west flash
needs for the ESP32-S3-DevKitC. `west packages pip --install` installs
all of them.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
"Latest SDK installer" now points at Zephyr SDK 1.x, which needs a newer
Zephyr than v4.3.0 and NCS v3.2.3 (both use 0.17.4). Name the version
from docs/_versions and add the Apple Silicon (macos-aarch64) archive.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The later pages activate the virtualenv, and pip outside a virtualenv
fails on Ubuntu 24.04. Say so in the global tab.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The Windows Zephyr guide initialised the workspace in C:\ while the
virtualenv and later steps use %HOMEPATH%, and the west init step
downloads Zephyr and the Golioth Firmware SDK, not the Zephyr SDK
toolchain. Drop the leading space that indents the NCS Windows
commands.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Zephyr v4.3.0 and NCS v3.2.3 select the nrfutil runner before nrfjprog
for the nRF9160 DK, so nRF Command Line Tools are no longer needed.
Follow the NCS v3.2.3 prerequisites: J-Link v9.18, nRF Util, nrf-udev.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
NCS v3.2.3 installs the Python requirements of the nrf and mcuboot
modules as well as Zephyr's. Add them to both tabs on Unix and Windows.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Nordic retired infocenter.nordicsemi.com. Link the nRF Connect for
Desktop product page instead, and only once in the install steps,
which already link it in their first line.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
golioth-zephyr-sdk is archived and its docs are frozen; boards are now
verified through the Golioth Firmware SDK CI. Drop the catalog wording
and the Thread claim from the Hardware page, which no longer has a
catalog and has no continuously verified Thread board, and link the
Settings sync status docs to the Firmware SDK reference.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
getting-started_choose-device.md and prerequisites-device.md are not
imported or linked by any page, and the former still names the archived
Golioth Zephyr SDK.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
SDK v0.18.0 and later releases link pages that were removed without a
redirect (/reference/protocols/coap/*, api-docs/location) or that are
caught by the /firmware catch-all (the SDK overview, certificate-auth).
Redirect them in both hosting targets, the /firmware ones ahead of the
catch-all, so links in these SDK releases keep working.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Since SDK v0.21.0 the device also fetches the OTA manifest once a day
by default, so a cohort removal is eventually picked up.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
enum golioth_ota_state at v0.23.0 calls state 3 Updating, not Updated.
The example payload, described as a download in progress, now uses
state 1 (Downloading) instead of 3.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Fix a misspelt word ("for" instead of "four") and a missing space, drop
a stray "export" line that rendered as text above the Zephyr build tabs
and a repeated paragraph on the Zephyr set-up page, and name the pip
command that the Windows west step runs.

Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
@mniestroj
mniestroj requested a review from mpuricx November 17, 2026 14:08
@mniestroj
mniestroj force-pushed the firmware-sdk/v0.23.0 branch from 76187bb to cb81514 Compare November 17, 2026 17:51

@mpuricx mpuricx left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mniestroj
mniestroj merged commit 24c691b into main Nov 18, 2026
2 checks passed
@mniestroj
mniestroj deleted the firmware-sdk/v0.23.0 branch November 18, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants